const path = require('path');
const { merge } = require('webpack-merge');
const baseConfig = require('./base');

const clientConfig = {
  entry: './src/client/index.js',
  output: {
    path: path.join(__dirname, '../public'),
    filename: 'bundle.js'
  }
};

module.exports = merge(baseConfig, clientConfig);